package com.ymatou.iapi.coupon.parameter.old;

public class UserReceiveResultInfo {
	/**
    * 用户ID
    */
    public int UserId ;
    /**
    * 批次编号
    */
    public String BatchCode ;
    
    /**
     * 剩余领取次数
     */
    public Integer RemainReceiveTimes;
    
    /**
    * 是否领取成功
    */
    public Boolean IsReceiveSuccess ;
    /**
    * 领取失败原因
    * /// <summary>
        /// 没有
        /// </summary>
        [Description("成功")]
        None = 0,
        /// <summary>
        /// 没有券码
        /// </summary>
        [Description("券码不足已领完")]
        NoCoupon = 1,
        /// <summary>
        /// 超出领取数
        /// </summary>
        [Description("用户超出领取数")]
        OverReceiveNumber = 2,
        /// <summary>
        /// 已过期
        /// </summary>
        [Description("批次已过期")]
        Expire = 3,
        /// <summary>
        /// 已作废
        /// </summary>
        [Description("批次已作废")]
        Invalid = 4,
        /// <summary>
        /// 未知错误
        /// </summary>
        [Description("未知错误")]
        Unknown = 5,
        /// <summary>
        /// 任务已中止
        /// </summary>
        [Description("任务已中止")]
        Suspend = 6,
        /// <summary>
        /// 没有用户数据
        /// </summary>
        [Description("没有用户数据")]
        NoUserData = 7,
        /// <summary>
        /// 批次不存在
        /// </summary>
        [Description("批次不存在")]
        BatchNotExists = 8,
        /// <summary>
        /// 批次不允许领取业务
        /// </summary>
        [Description("批次不允许领取业务")]
        BatchNotAllowReceive = 9,
        /// <summary>
        /// 老用户不允许领取新手券
        /// </summary>
        [Description("老用户不允许领取新手券")]
        OldUserNotReceiveNewCoupon = 10
     */
    public int ReceiveFailReason ;
    
    private String CouponCode;
    
    public String Remark;
	public int getUserId() {
		return UserId;
	}
	public void setUserId(int userId) {
		UserId = userId;
	}
	public String getBatchCode() {
		return BatchCode;
	}
	public void setBatchCode(String batchCode) {
		BatchCode = batchCode;
	}
	public Boolean getIsReceiveSuccess() {
		return IsReceiveSuccess;
	}
	public void setIsReceiveSuccess(Boolean isReceiveSuccess) {
		IsReceiveSuccess = isReceiveSuccess;
	}
	public int getReceiveFailReason() {
		return ReceiveFailReason;
	}
	public void setReceiveFailReason(int receiveFailReason) {
		ReceiveFailReason = receiveFailReason;
	}
	public String getRemark() {
		return Remark;
	}
	public void setRemark(String remark) {
		this.Remark = remark;
	}
	public Integer getRemainReceiveTimes() {
		return RemainReceiveTimes;
	}
	public void setRemainReceiveTimes(Integer remainReceiveTimes) {
		RemainReceiveTimes = remainReceiveTimes;
	}
	public String getCouponCode() {
		return CouponCode;
	}
	public void setCouponCode(String couponCode) {
		CouponCode = couponCode;
	}
	
   
}
